﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EraNet.Core.Model.Account;
using EraNet.Common.Files;

namespace EraNet.Common
{
    public class ComBiz
    {
        /// <summary>
        /// 获取登录学员实体
        /// </summary>
        /// <returns></returns>
        public static Member GetMember()
        {
            Member dsa = null;
            Object obj = null;
            if (Utility.GetCookie("Member") != null && Utility.GetCookie("Member") != "")
                obj = (Member)SerializationHelper.BtyDeSerializer(Utility.GetCookie("Member"));
            if (obj != null) dsa = (Member)obj;
            return dsa;
        }
    
    }
}
